package com.zyl.pts.service;

import com.zyl.pts.config.enums.CodeAndMessageEnum;
import com.zyl.pts.domain.bean.Account;
import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.service
 * @ClassName: UserService
 * @Description TODO(用户层)
 * @Author 翟玉龙
 * @Date 2024/11/19-9:15
 */
public interface UserService {
    /**
     * 用户登录
     * @return List<User>
     */
    Map<String, String> login(String username, String password);

    CodeAndMessageEnum logout();

    Account getUserInfo(String token);
}
